// 会员卡升级管理
import request from '@/router/axios'

// 升级会员卡
export function customerCardUpgrade(obj) {
  return request({
    url: '/eims/eimscustomercardupgrade/upgradeCustomerCard',
    method: 'get',
    params: obj
  })
}

// 会员卡升级记录分页查询
export function customerCardRecord(obj) {
  return request({
    url: '/eims/eimscustomercardupgrade/page',
    method: 'get',
    params: obj
  })
}

// 通过ID查询升级记录详情
export function customerCardRecordDetail(id) {
  return request({
    url: '/eims/eimscustomercardupgrade/'+id,
    method: 'get'
  })
}

export function customerCardFetchList(obj){
  return request({
    url: '/eims/eimscustomercardupgrade/getCustomerCardInfoPage',
    method: 'get',
    params: obj
  })
}
